package com.api.tiny.mirror.service.product.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.tiny.mirror.basic.common.json.deserializer.SplitToCollectionsDeserializer;
import com.tiny.mirror.basic.common.json.serializer.CollectionsJoinSerializer;
import java.util.List;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class UpdatePlatformAbilityRequest {

  @JsonProperty(value = "platform_id")
  private Long platformId;
  @JsonDeserialize(using = SplitToCollectionsDeserializer.class)
  @JsonSerialize(using = CollectionsJoinSerializer.class)
  @JsonProperty(value = "ability_ids")
  private List<Long> abilityIds;
}
